home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gCurriculum
- if the platform contains "windows" then
- set pePath to the pathName
- repeat while the last char in pePath <> "\"
- delete char -30000 of pePath
- end repeat
- delete char -30000 of pePath
- repeat while the last char in pePath <> "\"
- delete char -30000 of pePath
- end repeat
- set pe to pePath & "Planning Express\PlanningExpress.exe"
- set err to OpenApp(pe, "AB", gCurriculum)
- else
- set err to "none"
- set pePath to the pathName
- repeat while the last char in pePath <> ":"
- delete char -30000 of pePath
- end repeat
- set db to pePath & gCurriculum & ".ped"
- delete char -30000 of pePath
- repeat while the last char in pePath <> ":"
- delete char -30000 of pePath
- end repeat
- set pe to pePath & "Planning Express:Planning Express"
- open(db, pe)
- end if
- if err <> "none" then
- alert(err)
- go("main")
- end if
- end
-